<!-- Begin products/assign.tpl -->

<form method="post" action="?module=admin&action=assign_products&id={$smarty.get.id}&submit=true">

{opentable}
{titlebar colspan=2 title=$title}

<tr align="center">
<td class="sectiontableheader" width="40%">{$lg->add} {$lg->is_employee}</td>
<td class="sectiontableheader" width="40%">{$lg->remove} {$lg->is_employee}</td>
<td width="20%" class="data"></td>
</tr>
<tr>
<td class="sectiontableentry1" width="40%"> 
<select name="add[]" size="40" multiple="multiple" style="width: 100%;">
{foreach from=$users item=userid}
<option value="{$userid}">{username id=$userid}</option>
{/foreach}
</select>
</td>
<td class="sectiontableentry1" width="40%">
<select name="del[]" size="40" multiple="multiple" style="width: 100%;">
{foreach from=$list item=uid}
<option value="{$uid}">{username id=$uid}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td width="20%" class="data" align="center">
<input type="submit" class="button" value={$lg->save} />
</td>
</tr>
</table>
</form>
</table>

<!-- End products/assign.tpl -->